-----------------------------------------------------
-- localization.lua
-- English strings by default, localizations override with their own.
------------------------------------------------------

-- Key bindings
BINDING_HEADER_FEEDOMATIC = "Fizzwidget Feed-O-Matic";
BINDING_NAME_FEEDOMATIC = "Feed Pet";

-- Diet names. These should be the all-lowercase versions of the six diets returned from GetPetFoodTypes(). (Want to get them all nice and quick for your localization? Go tame a bear... they eat anything.)
-- THESE STRINGS MUST BE LOCALIZED for Feed-O-Matic to work properly in other locales.
FOM_DIET_MEAT	= "meat";
FOM_DIET_FISH	= "fish";
FOM_DIET_BREAD	= "bread";
FOM_DIET_CHEESE = "cheese";
FOM_DIET_FRUIT	= "fruit";
FOM_DIET_FUNGUS = "fungus";

-- If the player has a buff whose icon name contains "Ability_Mount" and whose name contains one of these substrings, we assume the player is mounted. We have to use this rather oblique way to check for mounted because some other buffs use the Ability_Mount_* icons. If these aren't localized, we may not recognize when the player is mounted and still try to feed the pet.
FOM_MOUNT_NAME_SUBSTRINGS = { "kodo", "wolf", "raptor", "steed", "horse", "ram", "saber", "mechanostrider" };

-- It's not clear whether the 5th and 6th returns from GetItemInfo() are supposed to be localized... so we have localized keys for them just in case. If these aren't localized, we'll just needlessly search your ammo bags for food.
FOM_AMMO_POUCH = "Ammo Pouch";
FOM_QUIVER = "Quiver";

-- From here on down, the localized strings are just for readability... they don't affect whether Feed-O-Matic works.

-- Two special diets; one is used for tracking food that provides a bonus (or at least, that you don't want to have fed to your pet when the 'savebonus' option is on), and another that's used in the chat-line interface for listing all diets.
FOM_DIET_BONUS	= "bonus";
FOM_DIET_ALL	= "all";

-- Used in tooltips to indicate food quality.
FOM_QUALITY_UNKNOWN	= "%s 未知";
FOM_QUALITY_UNDER	= "%s 不喜欢";
FOM_QUALITY_MIGHT	= "%s 可能吃";
FOM_QUALITY_WILL	= "%s 可以吃";
FOM_QUALITY_LIKE	= "%s 喜欢这个";
FOM_QUALITY_LOVE	= "%s 的最爱";

-- User-visible errors
FOM_ERROR_NO_PET		= "你没有宠物";
FOM_ERROR_PET_DEAD		= "你的宠物已死亡";
FOM_ERROR_NO_FEEDABLE_PET	= "你没有可喂食的宠物";
FOM_ERROR_IN_COMBAT	= "战斗中不能喂食宠物";
FOM_ERROR_FOOD_NOT_FOUND	= "%s 找不到 %s 在背包中。";
FOM_ERROR_NO_FOOD		= "%s 背包中没有食物";
FOM_ERROR_NO_FOOD_NO_FALLBACK	= "%s 背包中没有禁用的食物";

FOM_PRONOUN_MALE 	= "他";
FOM_PRONOUN_FEMALE	= "她";

-- Feeding status messages
FOM_FEEDING_EAT_ANOTHER		= "%s 不喜欢这种食物，请更换食物...";
FOM_FEEDING_FEED_ANOTHER	= "需要喂 %s 其他东西...";
FOM_FEEDING_EAT			= "%s 吃了一个 %s。"; 
FOM_FEEDING_FEED		= "投喂了 %s 一个 %s. ";

FOM_PET_HUNGRY		= "%s 饿了!";
FOM_PET_VERY_HUNGRY	= "%s 要饿死了!";
-- Beast family names
BAT = "Bat";
BEAR = "Bear";
BOAR = "Boar";
CARRION_BIRD = "Carrion Bird";
CAT = "Cat";
CRAB = "Crab";
CROCOLISK = "Crocolisk";
GORILLA = "Gorilla";
HYENA = "Hyena";
OWL = "Owl";
RAPTOR = "Raptor";
SCORPID = "Scorpid";
SPIDER = "Spider";
TALLSTRIDER = "Tallstrider";
TURTLE = "Turtle";
WIND_SERPENT = "Wind Serpent";
WOLF = "Wolf";

FOM_OPTIONS_HEADER = "Feed-Matic 设置选项";
FOM_OPTIONS_GENERAL = "基本设置:";
FOM_OPTIONS_FOOD_CHOICE = "排除烹饪用食物:";
FOM_OPTIONS_FEED_NOTIFY = "喂食时通知：";
FOM_OPTIONS_WARNING = "喂食提醒:";

FOM_KEEPOPEN = "至少保留";
FOM_KEEPOPEN_SLOTS = "背包中有空位";
FOM_KEEPOPEN_INFO = "(在空间不足的情况下，无论你的宠物多么喜欢，都会从较小的食物堆中选择食物。)";

FOM_OptionsButtonText = {
	["Tooltip"]	= "显示宠物信息",
	["AvoidQuestFood"]	= "排除任务用食物",
	["AvoidBonusFood"]	= "排除提供增益的食物",
	["PreferHigherQuality"]	= "宠物偏好优先",
	["Fallback"]	= "没有食物时可以吃已经排除的食物",
	["SaveForCook_All"]	= "全部烹饪用食物",
	["SaveForCook_Green"]	= "仅食用|cff3fbf3f\"低级\"|r 或喜欢",
	["SaveForCook_Yellow"]	= "仅食用|cffffff00\"中等\"|r 或喜欢",
	["SaveForCook_Orange"]	= "仅食用|cffff7f3f\"高级\"|r 偏爱",
	["SaveForCook_None"]	= "不保留烹饪可以使用食物",
	["IconWarning"]	= "图标闪缩",
	["TextWarning"]	= "消息提醒",
	["AudioWarning"]	= "声音提醒",
	["AudioWarningBell"]	= "通用提示音",
	["AlertEmote"]	= "使用表情 (其他人可见)",
	["AlertChat"]	= "聊天窗口 (仅自己可见)",
	["AlertNone"]	= "关闭通知",
	["LevelContent"]	= "当满足时",
	["LevelUnhappy"]	= "当愤怒时",
	["LevelOff"]	= "关闭提醒",
};
------------------------------------------------------
if (GetLocale() == "zhCN") then
	BINDING_HEADER_FEEDOMATIC = "Fizzwidget Feed-O-Matic";
BINDING_NAME_FEEDOMATIC = "喂养宠物";

-- Diet names. These should be the all-lowercase versions of the six diets returned from GetPetFoodTypes(). (Want to get them all nice and quick for your localization? Go tame a bear... they eat anything.)
-- THESE STRINGS MUST BE LOCALIZED for Feed-O-Matic to work properly in other locales.
FOM_DIET_MEAT	= "肉";
FOM_DIET_FISH	= "鱼";
FOM_DIET_BREAD	= "面包";
FOM_DIET_CHEESE = "奶酪";
FOM_DIET_FRUIT	= "水果";
FOM_DIET_FUNGUS = "蘑菇";

-- If the player has a buff whose icon name contains "Ability_Mount" and whose name contains one of these substrings, we assume the player is mounted. We have to use this rather oblique way to check for mounted because some other buffs use the Ability_Mount_* icons. If these aren't localized, we may not recognize when the player is mounted and still try to feed the pet.
FOM_MOUNT_NAME_SUBSTRINGS = { "kodo", "wolf", "raptor", "steed", "horse", "ram", "saber", "mechanostrider" };

-- It's not clear whether the 5th and 6th returns from GetItemInfo() are supposed to be localized... so we have localized keys for them just in case. If these aren't localized, we'll just needlessly search your ammo bags for food.
FOM_AMMO_POUCH = "弹药袋";
FOM_QUIVER = "箭袋";

-- From here on down, the localized strings are just for readability... they don't affect whether Feed-O-Matic works.

-- Two special diets; one is used for tracking food that provides a bonus (or at least, that you don't want to have fed to your pet when the 'savebonus' option is on), and another that's used in the chat-line interface for listing all diets.
FOM_DIET_BONUS	= "奖励";
FOM_DIET_ALL	= "全部";

-- Used in tooltips to indicate food quality.
FOM_QUALITY_UNKNOWN	= "%s 未知";
FOM_QUALITY_UNDER	= "%s 不喜欢";
FOM_QUALITY_MIGHT	= "%s 可能吃";
FOM_QUALITY_WILL	= "%s 可以吃";
FOM_QUALITY_LIKE	= "%s 喜欢这个";
FOM_QUALITY_LOVE	= "%s 的最爱";

-- User-visible errors
FOM_ERROR_NO_PET		= "你没有宠物";
FOM_ERROR_PET_DEAD		= "你的宠物已死亡";
FOM_ERROR_NO_FEEDABLE_PET	= "你没有可喂食的宠物";
FOM_ERROR_IN_COMBAT	= "战斗中不能喂食宠物";
FOM_ERROR_FOOD_NOT_FOUND	= "%s 找不到 %s 在背包中。";
FOM_ERROR_NO_FOOD		= "%s 背包中没有食物";
FOM_ERROR_NO_FOOD_NO_FALLBACK	= "%s 背包中没有禁用的食物";

FOM_PRONOUN_MALE 	= "他";
FOM_PRONOUN_FEMALE	= "她";

-- Feeding status messages
FOM_FEEDING_EAT_ANOTHER		= "%s 不喜欢这种食物，请更换食物...";
FOM_FEEDING_FEED_ANOTHER	= "需要喂 %s 其他东西...";
FOM_FEEDING_EAT			= "%s 吃了一个 %s。"; 
FOM_FEEDING_FEED		= "投喂了 %s 一个 %s. ";

FOM_PET_HUNGRY		= "%s 饿了!";
FOM_PET_VERY_HUNGRY	= "%s 要饿死了!";

-- Beast family names
BAT = "蝙蝠";
BEAR = "熊";
BOAR = "野猪";
CARRION_BIRD = "食腐鸟";
CAT = "豹";
CRAB = "螃蟹";
CROCOLISK = "鳄鱼";
GORILLA = "猩猩";
HYENA = "土狼";
OWL = "猫头鹰";
RAPTOR = "迅猛龙";
SCORPID = "蝎子";
SPIDER = "蜘蛛";
TALLSTRIDER = "鸵鸟";
TURTLE = "乌龟";
WIND_SERPENT = "风蛇";
WOLF = "狼";

FOM_OPTIONS_HEADER = "Feed-Matic 设置选项";
FOM_OPTIONS_GENERAL = "基本设置:";
FOM_OPTIONS_FOOD_CHOICE = "排除烹饪用食物:";
FOM_OPTIONS_FEED_NOTIFY = "喂食时通知：";
FOM_OPTIONS_WARNING = "喂食提醒:";

FOM_KEEPOPEN = "至少保留";
FOM_KEEPOPEN_SLOTS = "背包中有空位";
FOM_KEEPOPEN_INFO = "(在空间不足的情况下，无论你的宠物多么喜欢，都会从较小的食物堆中选择食物。)";

FOM_OptionsButtonText = {
	["Tooltip"]	= "显示宠物信息",
	["AvoidQuestFood"]	= "排除任务用食物",
	["AvoidBonusFood"]	= "排除提供增益的食物",
	["PreferHigherQuality"]	= "宠物偏好优先",
	["Fallback"]	= "没有食物时可以吃已经排除的食物",
	["SaveForCook_All"]	= "全部烹饪用食物",
	["SaveForCook_Green"]	= "仅食用|cff3fbf3f\"低级\"|r 或喜欢",
	["SaveForCook_Yellow"]	= "仅食用|cffffff00\"中等\"|r 或喜欢",
	["SaveForCook_Orange"]	= "仅食用|cffff7f3f\"高级\"|r 偏爱",
	["SaveForCook_None"]	= "不保留烹饪可以使用食物",
	["IconWarning"]	= "图标闪缩",
	["TextWarning"]	= "消息提醒",
	["AudioWarning"]	= "声音提醒",
	["AudioWarningBell"]	= "通用提示音",
	["AlertEmote"]	= "使用表情 (其他人可见)",
	["AlertChat"]	= "聊天窗口 (仅自己可见)",
	["AlertNone"]	= "关闭通知",
	["LevelContent"]	= "当满足时",
	["LevelUnhappy"]	= "当愤怒时",
	["LevelOff"]	= "关闭提醒",
};
	end